/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.common.eventbus;

public class Event<T> {

    private int mEventType;

    private T mData;

    public Event(int eventType) {
        mEventType = eventType;
    }

    public Event(int eventType, T data) {
        mEventType = eventType;
        this.mData = data;
    }

    public int getEventType() {
        return mEventType;
    }

    public T getData() {
        return mData;
    }
}
